package com.jingdianjichi.subject.infra.basic.es;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * Description:
 *
 * @Author dal
 * @Create 2024/6/3 13:50
 */
@Component
@ConfigurationProperties(prefix = "es.cluster")
public class EsConfigProperties {
    private List<EsClustarConfig> esConfigs= new ArrayList<>();
    public List<EsClustarConfig> getEsConfigs() {
        return esConfigs;
    }

    public void setEsConfigs(List<EsClustarConfig> esConfigs) {
        this.esConfigs = esConfigs;
    }
}
